package abstractfactory.factory;

import abstractfactory.dao.AccessDepartment;
import abstractfactory.dao.IDepartment;
import abstractfactory.dao.IUser;
import abstractfactory.dao.SqlServeruser;

public class SqlServerFactory implements IFactory {
    @Override
    public IUser createUser() {
        return new SqlServeruser();
    }

    @Override
    public IDepartment createDepartment() {
        return new AccessDepartment();
    }
}
